#include "view_standard.h"

View_Standard::View_Standard(owid::Widget_Enhanced *wid):
    _wid(nullptr),
    _vs(nullptr)
{
    this->_wid = wid;
}

View_Standard::View_Standard(View_Standard *vs):
    _wid(nullptr),
    _vs(nullptr)
{
    this->_vs = vs;
}

void View_Standard::start()
{
    if(this->_vs != nullptr){
        _vs->start();

        this->_wid = _vs->wid();
    }

    if(this->_wid != nullptr){
        run();
    }
}

owid::Widget_Enhanced *View_Standard::wid()
{
    return _wid;
}

void View_Standard::run()
{

}
